package com.hjq.www.Dao;

import javax.swing.*;

/**
 * Create with IntelliJ IDEA
 *
 * @author: hjq
 * @Date:
 * @Description:
 */
public interface BreederDao {
    /**
     * 添加动物饲养员
     * @return
     */
    public abstract void add(JTextField idField, JTextField nameField, JTextField passwordField, JTextField genderField, JTextField phoneField, JTextField cardField);
    /**
     * 条件查询,根据id获取饲养员信息
     * @return
     */
    public abstract void search(JTextField idField,JTextField nameField,JTextField passwordField,JTextField genderField,JTextField phoneField,JTextField cardField);

    //根据id修改饲养员信息
    public abstract void update(JTextField idField,JTextField nameField,JTextField passwordField,JTextField genderField,JTextField phoneField,JTextField cardField);

    //根据id删除饲养员信息
    public abstract void delete(JTextField idField);
    public abstract void reset(JTextField idField,JTextField nameField,JTextField passwordField,JTextField genderField,JTextField phoneField,JTextField cardField);
}
